package cn.stylefeng.guns.sys.modular.personInfo.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

/**
 * <p>
 * 人员表
 * </p>
 *
 * @author WangZhen
 * @since 2021-01-20
 */
@TableName("wxjj_person_info")
public class PersonInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 0删除 1正常
     */
    @TableField("is_del")
    private Integer isDel;

    /**
     * 人员名称
     */
    @TableField("person_name")
    private String personName;

    /**
     * 证件类别
     */
    @TableField("card_type")
    private String cardType;

    /**
     * 登录名
     */
    @TableField("user_name")
    private String userName;

    /**
     * 密码
     */
    @TableField("pwd")
    private String pwd;

    /**
     * 手机
     */
    @TableField("phone")
    private String phone;

    /**
     * 证件编码
     */
    @TableField("card_code")
    private String cardCode;

    /**
     * 创建人
     */
    @TableField("create_person")
    private String createPerson;

    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getPersonName() {
        return personName;
    }

    public void setPersonName(String personName) {
        this.personName = personName;
    }

    public String getCardType() {
        return cardType;
    }

    public void setCardType(String cardType) {
        this.cardType = cardType;
    }

    public String getCardCode() {
        return cardCode;
    }

    public void setCardCode(String cardCode) {
        this.cardCode = cardCode;
    }

    public String getCreatePerson() {
        return createPerson;
    }

    public void setCreatePerson(String createPerson) {
        this.createPerson = createPerson;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    @Override
    public String toString() {
        return "PersonInfo{" +
                "id=" + id +
                ", isDel=" + isDel +
                ", personName=" + personName +
                ", userName=" + userName +
                ", pwd=" + pwd +
                ", phone=" + phone +
                ", cardType=" + cardType +
                ", cardCode=" + cardCode +
                ", createPerson=" + createPerson +
                ", createDate=" + createDate +
                "}";
    }
}
